package net.kucoe.macarun.sample;

/**
 * Sample class extends {@link Naming} and has color.
 * 
 * @author Vitaliy Basyuk
 */
public class Coloring extends Naming {
    
    private final String color;
    
    /**
     * Constructs Coloring.
     * 
     * @param name
     * @param color
     */
    public Coloring(final String name, final String color) {
        super(name);
        this.color = color;
    }
    
    /**
     * Returns the color String.
     * 
     * @return the color String.
     */
    public String getColor() {
        return color;
    }
    
}
